package com.mybatis.read;

import java.io.Serializable;

/**
 * @Description
 * @Author sunxy
 * @Create 2019-12-25 16:08
 **/

public class User implements Serializable {
    private Long id;
    private String name;
    private Integer age;
    private String des;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", des='" + des + '\'' +
                '}';
    }
}
